#ifndef INPUT_H
#define INPUT_H

const int ADC_PIN = 1;
const int BTN_THRESHOLD[5] = {3000, 2500, 1500, 1000, 500};
enum E_BTNS {
    Down,
    Press,
    Right,
    Left,
    Up,    
};

enum ButtonState { RELEASED, PRESSED };

class Input {
public:
    Input();
    void onInit();
    void onUpdate();
    ButtonState getButtonState(const E_BTNS& btn);
private:
    ButtonState __state[5]{RELEASED};
};

#endif // INPUT_H